package com.demo.provider.dao;

import com.demo.base.pojo.Clothetype;
import com.demo.base.pojo.Clothinginfo;
import com.demo.base.pojo.Styletype;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ClothinginfoMapper {
    List<Clothinginfo>getList(@Param("gender") int gender, @Param("age") int age, @Param("color") String color, @Param("styleid") int styleid, @Param("typeid") int typeid, @Param("from") int from, @Param("pageSize") int pageSze);
    int getCount(@Param("gender") int gender, @Param("age") int age, @Param("color") String color, @Param("styleid") int styleid, @Param("typeid") int typeid);
    List<Styletype>getall();
    List<Clothetype>gettype();
    Clothinginfo info(int id);
}
